package br.edu.fa7.javabasics.module1.poo.classeAbstrata.robot;

/**
 * 
 * @author charles.marques
 * @version 1.0
 * @since 29.10.2014
 *
 */
public class TesteRobot {

	public static void main(String args[]) {
		
		try {
			Robot robot = new Robot(new Agressivo());
			robot.mover();
//			robot.wait(10000);
			robot.setComportamento(new Defensivo());
			robot.mover();
//			robot.wait(10000);
			robot.setComportamento(new Normal());
			robot.mover();
//		} catch (InterruptedException e) {
//			e.printStackTrace();
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
}
